import Vue from 'vue'
import App from './App.vue'
import router from '@/router'
// vuex
import store from  '@/store'
// 加载elementui组件
import '@/utils/install-elementui'
// 全局过滤器
import '@/utils/filters'
// 图片懒加载
import VueLazyLoad from 'vue-lazyload'
Vue.use(VueLazyLoad, {
  preLoad: 1,
  loading: require('./assets/images/loading.gif'),
  attempt: 2,
})
// 无限加载
import infiniteScroll from "vue-infinite-scroll";
Vue.use(infiniteScroll);


Vue.config.productionTip = false



new Vue({
  render: h => h(App),
  router,
  store
}).$mount('#app')